package wowrl.data;

import java.awt.Point;
import java.util.Vector;

import wowrl.engine.WOWRL_Engine;

public class Player extends Mob {
	private static final int setDisplayTileNumber = 390;
	private static final String setName = "player";
	public Point location;
	public Vector<Item> inventory;
	
	public int[] attributes;
	public static String[] attributeNames = {"STR","CON","DEX","INT","WIS","CHA"};
	public static String[] attributeSummaries = {
			"Melee attacks, carrying capacity",
			"Health (HP), resistance to poison and disease",
			"Ranged attacks, harder to hit",
			"Skills, arcane magic",
			"Perception, divine magic",
			"Social interactions, spontaneous magic"			
	};
	
	public Player(WOWRL_Engine engine, Point location) {
		//Mob constructor
		super(engine, setDisplayTileNumber, setName);

		//Set location
		this.location = location;
		
		//Create inventory
		inventory = new Vector<Item>();
		
		attributes = new int[6];
		
		//Set HP to 10/10
		
		maxHP = 10;
		currentHP = maxHP;
	}

}
